{"project":"intersection_observer","branch":"main","commit":"71feefb864034f917ec053863b5beceba039a25e","component":{"name":"HomePage","nodes":{"root":{"tag":"div","type":"element","children":["qUZX5B_obx9JdrREoZr8I"],"classes":{"bTqdax":{"formula":{"type":"value","value":true}}},"customProperties":{}},"00EfPUclcj4uoBodasgUB":{"tag":"div","type":"element","children":["GiR6Ubemqn8idgSOLvK_b"],"classes":{"dkryGq":{"formula":{"type":"value","value":true}}},"customProperties":{}},"1I3uI41FvPudnEneeIllT":{"type":"text","value":{"type":"value","value":"Improve page load times and reduce bandwidth usage by leveraging the Intersection Observer API to load images, videos, and entire components only when they're about to enter the viewport."}},"1Omd11BcN5rxw8O8eu9yn":{"type":"text","value":{"type":"value","value":"A number which indicate at what percentage of the target's visibility the slotted content should be rendered at. If you only want to detect when visibility passes the 50% mark, you can use a value of 0.5. The default is 0 (meaning as soon as any part is visible).\n\n"}},"1WzR7Ify70kv7UYD-2eIc":{"tag":"tr","type":"element","children":["8gH8nZiwJ717GYo80NbXx","SNhSOmhRJ2E2psqy8d81Y"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"1iBRczPUPFmwbpgaAVlQZ":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"40"},"y":{"type":"value","value":"40"},"fill":{"type":"value","value":"#48bb78"},"width":{"type":"value","value":"120"},"height":{"type":"value","value":"120"},"stroke":{"type":"value","value":"#e2e8f0"},"stroke-width":{"type":"value","value":"4"}},"classes":{"kpEdX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2IQpny-nF4GKb5QxrEF9i":{"tag":"div","type":"element","children":["zLPUXTO4t1V8nXLsoLC5D","Bmu6cU6sfZpREQQzihSA-"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2TGeScqT5dgkKsU5wT645":{"tag":"tr","type":"element","children":["mzGjlDc4qlJWuRoeu3x9m","rOFDllilQXAXFOi1FRW3I"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2YB1BPkzGHlWDsraEOC_O":{"tag":"td","type":"element","children":["k14i7v51cs9IQChiSna08"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2x2URyCKk3z4UOQltAjF1":{"tag":"h3","type":"element","children":["bOFjWvUzS99RqjtqEf5Oo"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2yANKj56S7TvK04qIjXu8":{"tag":"tr","type":"element","children":["drHy7-N09v8FHwS6WKY0M","mh5pTtteAAqm-ZtW_sKcU"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"34bIFStpHgReMkTCs_fX_":{"tag":"p","type":"element","children":["tu6LpoK1LU1JFs-lS_Z-V"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"4TP_G5P2FGktiilCoyt74":{"type":"text","value":{"type":"value","value":"Change"}},"4dLiUw9fNeuZk2UKfupTx":{"tag":"h3","type":"element","children":["yg5yS8y4rf4IrXwso638U"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"4holRRSBHo_TtMoGDKCHZ":{"tag":"tr","type":"element","children":["54Gedz5AG5Sjc6nQ5adpD","eC9c4MCGpw9ZWISLvPoI2"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"4iH0hxmSeNmREKvVTx8Xa":{"tag":"td","type":"element","children":["1Omd11BcN5rxw8O8eu9yn"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"4sUdnX2GPGOLaHilGkzLA":{"tag":"div","type":"element","classes":{"flex":{},"w-full":{},"flex-col":{},"text-white":{},"bg-gray-900":{},"bbbKHh":{"formula":{"type":"value","value":true}}},"children":["CzdSk4hWzv_coGOvGT9td","FWANV5KgkPDmFZkwPDtvZ","x2pVE6uapN_zyjAOZOZxH"],"customProperties":{}},"54Gedz5AG5Sjc6nQ5adpD":{"tag":"td","type":"element","children":["aQHHmAE3GyKXtH4AShmYs"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"616n7TVOO6f-PV1o3Ttcf":{"tag":"section","type":"element","children":["rPritJtWLr5om5Mf7ZQl4","dPIDQY2NRCodcOF5VifV1"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6HOmzTI4e_XEKfsdZwpy-":{"tag":"table","type":"element","children":["hfmarTXU9ZGAcNShDhsvg"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6Hj7MWJfDyPmSRj6P-Fj4":{"tag":"td","type":"element","children":["DXdard_mX3p02IfClJ-W7"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6JzXU7qD2EnoxfKsd3CtP":{"tag":"h2","type":"element","children":["Ppb2ZQC077pjPIAO71GPL"],"classes":{"fGbJes":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6j_62LmhVd8p_ol4p_-ky":{"tag":"td","type":"element","children":["c-xjypetoeCGEuwG6J-JP"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6zKvei4CTf-tkv8cgKJLy":{"tag":"svg","type":"element","attrs":{"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"viewBox":{"type":"value","value":"0 0 200 200"}},"classes":{"h-64":{},"w-full":{},"md:w-1/2":{},"uqmHy":{"formula":{"type":"value","value":true}}},"children":["CA1RRiRtnj2S_e3hVh60_","TvXCuTTL6PmjMAmw7OglD","S4CeS2qAgRtkdaagO58vF"],"customProperties":{}},"79VAkIyFu0wNGfAetM-QX":{"type":"text","value":{"type":"value","value":"root-element-id\n\n"}},"7c7x4U4dAOiSdB_EUmtk6":{"type":"text","value":{"type":"value","value":"Similar to `render-when-in-view`, but has events and context to listen to changes. Also supports threshold as array to get more fine-tuned feedback as the component scrolls into view."}},"82xrclrlmPh62aZiXSe7w":{"tag":"tr","type":"element","children":["6Hj7MWJfDyPmSRj6P-Fj4","cYKV7Rf4kxPqvtNH7YMi_"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8JMmh1JG6yvg9WglgEwJc":{"tag":"div","type":"element","children":["gKOdXbW-on_939JSdA1t-"],"classes":{"CsusC":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8gH8nZiwJ717GYo80NbXx":{"tag":"td","type":"element","children":["wF0xD0TCAUF_uxiX5rxvB"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8v7GWSgKkFX_CL_WlJJXq":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"20"},"y":{"type":"value","value":"20"},"fill":{"type":"value","value":"#4a5568"},"width":{"type":"value","value":"160"},"height":{"type":"value","value":"160"},"stroke":{"type":"value","value":"#e2e8f0"},"stroke-width":{"type":"value","value":"4"}},"classes":{"kpEdX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8x58OM7tM09Z0ECqp9Ca_":{"type":"text","value":{"type":"value","value":"root-margin\n\n"}},"9Buv6OrvJEvrt1HoKz_Vw":{"type":"text","value":{"type":"value","value":"Attributes"}},"9s2QVMqvCJIOcWQHIHJbR":{"type":"text","value":{"type":"value","value":"Any subcomponent can subscribe to this value. Indicates how much of the component is intersected. Useful for animations based on scroll."}},"AAos7e-UOjEj1mn2hhjT5":{"tag":"div","type":"element","children":["vOHOzUCK4-00R1sigQxCq"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ArQzWS9L4IzLtoLVw4TqU":{"type":"text","value":{"type":"value","value":"Intersection-observer runs asynchronously by default. Setting this to true will do an initial synchronous check for being in view. This check is more expensive and runs on the main-thread, so use sparingly. You can check this for elements you expect could be in view initially, like the first 10 elements of a list, while disabling for the rest."}},"Bmu6cU6sfZpREQQzihSA-":{"tag":"table","type":"element","children":["xB0fYs1obXyz_5eJWIr24","W4Z2Kpi1kBbTE78MTgrij","zuORBk70pU7qwYjmAXg1c"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"C2ztPypJigHNYahz23c_U":{"type":"text","value":{"type":"value","value":"Attributes"}},"CA1RRiRtnj2S_e3hVh60_":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"20"},"y":{"type":"value","value":"20"},"fill":{"type":"value","value":"#4a5568"},"width":{"type":"value","value":"160"},"height":{"type":"value","value":"160"},"stroke":{"type":"value","value":"#e2e8f0"},"stroke-width":{"type":"value","value":"4"}},"classes":{"kpEdX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"CTLZ6XA_SpDqdjsKh1RRR":{"tag":"table","type":"element","children":["4holRRSBHo_TtMoGDKCHZ","82xrclrlmPh62aZiXSe7w"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"CXIBYCt_EySv2D1-sGiBT":{"tag":"td","type":"element","children":["suIYoHXprvu54T1mVqfxI"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"CzdSk4hWzv_coGOvGT9td":{"name":"Intersection observer","type":"component","attrs":{"threshold":{"name":"BuildThresholdList","type":"function","label":null,"arguments":[{"name":"Number of steps","formula":{"type":"value","value":100}}]},"root-margin":{"type":"value","value":"100px 0px -250px 0px"},"root-element-id":{"type":"value","value":"container"}},"children":["kzu3rxaEiVtcLSFDMcvVr"],"customProperties":{}},"D2aIDiP5YhC6DjhjrFLXh":{"type":"text","value":{"type":"value","value":"Intro"}},"DDy_L9HAVdgsT-7T4qkx0":{"tag":"p","type":"element","children":["iSCTwq_3gRK_--mbHiz6C"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"DXdard_mX3p02IfClJ-W7":{"type":"text","value":{"type":"value","value":"placeholder"}},"DiGj9O-MyAMabIAq2LYNE":{"type":"text","value":{"type":"value","value":"The Intersection Observer API allows you to efficiently detect when an element enters or leaves the viewport, enabling smooth lazy loading and infinite scrolling experiences."}},"Dj6JZ0RzgtSAy18oZSPNs":{"tag":"h4","type":"element","children":["zfsSdGUB2b8moIGpNQqfr"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"EZuCa8q7-MbmOA-UlBZ8h":{"tag":"table","type":"element","children":["2yANKj56S7TvK04qIjXu8","2TGeScqT5dgkKsU5wT645"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"FT6xZw39Zg5WZTTyN76aQ":{"type":"text","value":{"type":"value","value":"Either a number or an array of numbers which indicate at what percentage of the target's visibility the observer's callback should be executed. If you only want to detect when visibility passes the 50% mark, you can use a value of 0.5. If you want the callback to run every time visibility passes another 25%, you would specify the array [0, 0.25, 0.5, 0.75, 1]. The default is 0 (meaning as soon as any part is visible).\n"}},"FWANV5KgkPDmFZkwPDtvZ":{"name":"Intersection observer","type":"component","attrs":{"threshold":{"name":"BuildThresholdList","type":"function","label":null,"arguments":[{"name":"Number of steps","formula":{"type":"value","value":100}}]},"root-margin":{"type":"value","value":"100px 0px -250px 0px"},"root-element-id":{"type":"value","value":"container"}},"children":["I9q3Oap7iWy796-DW8C8L"],"customProperties":{}},"F_gJfjN3vkMOMe3iRBie9":{"type":"text","value":{"type":"value","value":"Detect Element Visibility"}},"Fc50PPB9UfNPwmBAj6shw":{"tag":"table","type":"element","children":["vWPPPYdibSVui5Ns4yq-T","1WzR7Ify70kv7UYD-2eIc","YvIUS_T_HQY7afV_SiD_Y","oN0VbbWAAejIbL_1fThx8","igMKIl4ahhQQphihenxzH"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"GFsk-SO-YUFkjT31isFfE":{"tag":"line","type":"element","attrs":{"x1":{"type":"value","value":"0"},"x2":{"type":"value","value":"200"},"y1":{"type":"value","value":"100"},"y2":{"type":"value","value":"100"},"stroke":{"type":"value","value":"#ed8936"},"stroke-width":{"type":"value","value":"4"},"stroke-dasharray":{"type":"value","value":"10,10"}},"classes":{"kpEdX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"GiR6Ubemqn8idgSOLvK_b":{"tag":"p","type":"element","children":["QxNnw67O52IWNpDx04L6G"],"classes":{"dJitrS":{"formula":{"type":"value","value":true}}},"customProperties":{}},"H4L4-qYWVCIAN9Ehzwldr":{"tag":"h2","type":"element","children":["sw0h1xF3ZqfcsW-IqEId8"],"classes":{"fGbJes":{"formula":{"type":"value","value":true}}},"customProperties":{}},"HMZyIphlI3mYoI00iLM5U":{"type":"text","value":{"type":"value","value":"unload-when-out-of-view"}},"I9q3Oap7iWy796-DW8C8L":{"name":"Perspective in","type":"component","children":["Q4YBYMEUqsB580eEKFSM4"],"customProperties":{}},"IAO0gRmy9yXKli9EyEdew":{"tag":"div","type":"element","children":["Dj6JZ0RzgtSAy18oZSPNs","6HOmzTI4e_XEKfsdZwpy-"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"IypbEqIVkgvXjxhx7WSj-":{"type":"text","value":{"type":"value","value":"Intersection ratio"}},"JqWjgJusyhzVAXPpDcQ2w":{"type":"text","value":{"type":"value","value":"threshold\n\n"}},"KpKDq5OfiFtvGqbs04r4l":{"tag":"h2","type":"element","classes":{"mb-4":{},"text-3xl":{},"font-bold":{},"text-blue-300":{},"bDueAJ":{"formula":{"type":"value","value":true}}},"children":["uLcmCWc1bN51roayCO_Nj"],"customProperties":{}},"LE3BpBYOZouObnC6vqh3_":{"tag":"td","type":"element","children":["79VAkIyFu0wNGfAetM-QX"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"LGx-xl30xTdu-_g3UHfQ7":{"tag":"p","type":"element","classes":{"mb-4":{},"text-lg":{},"text-gray-300":{},"dLtgkq":{"formula":{"type":"value","value":true}}},"children":["1I3uI41FvPudnEneeIllT"],"customProperties":{}},"LbTXvEWP1MS5Im2zZbZlX":{"tag":"td","type":"element","children":["jDM6mtErKnlZN0FEizpLm"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"MCbJejFzTYCci7PJf_daZ":{"tag":"td","type":"element","children":["ArQzWS9L4IzLtoLVw4TqU"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"NnihYuMlnHopVEV0GlfCQ":{"type":"text","value":{"type":"value","value":"Context"}},"Ocz0955gPBhgnA5gXkqXn":{"tag":"h2","type":"element","children":["D2aIDiP5YhC6DjhjrFLXh"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"OmQTXJjL1xdmBrSVPPRHw":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"20"},"y":{"type":"value","value":"20"},"fill":{"type":"value","value":"#4a5568"},"width":{"type":"value","value":"160"},"height":{"type":"value","value":"160"},"stroke":{"type":"value","value":"#e2e8f0"},"stroke-width":{"type":"value","value":"4"}},"classes":{"kpEdX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Pl4Hm1RAa_gFvVlP7uXK2":{"type":"text","value":{"type":"value","value":"Should the content be removed again when it goes out of view. Default is false. False usually means higher RAM, but lower CPU usage.\n\n"}},"Ppb2ZQC077pjPIAO71GPL":{"type":"text","value":{"type":"value","value":"Formulas"}},"Q4YBYMEUqsB580eEKFSM4":{"tag":"section","type":"element","classes":{"p-8":{},"flex":{},"flex-col":{},"bg-gray-800":{},"items-center":{},"justify-between":{},"md:flex-row-reverse":{},"buJyAJ":{"formula":{"type":"value","value":true}}},"children":["YV6fvAR_I-cXJHNQxe3Nn","fkpbYj1SmhBYJQghCdE8L"],"customProperties":{}},"QozClqn4vLraoakHnLOeK":{"tag":"section","type":"element","children":["H4L4-qYWVCIAN9Ehzwldr","RpMEP3bYGiAf_VRNmjWiP"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"QxNnw67O52IWNpDx04L6G":{"type":"text","value":{"type":"value","value":"Scroll container and notice how the card s fading\nin based on how far into the viewport it gets."}},"R6s6K11jrmCanicqWJ2v4":{"tag":"td","type":"element","children":["HMZyIphlI3mYoI00iLM5U"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"RpMEP3bYGiAf_VRNmjWiP":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["WFpnq2ZkG4snYqRG_Bl6K","d5R32V345MlGqEinOVxYQ"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"S4CeS2qAgRtkdaagO58vF":{"tag":"circle","type":"element","attrs":{"r":{"type":"value","value":"20"},"cx":{"type":"value","value":"100"},"cy":{"type":"value","value":"100"},"fill":{"type":"value","value":"#1a202c"},"stroke":{"type":"value","value":"#e2e8f0"},"stroke-width":{"type":"value","value":"4"}},"classes":{"kpEdX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"SNhSOmhRJ2E2psqy8d81Y":{"tag":"td","type":"element","children":["rAHVprwnw9Qe_4Q6BguDe"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"TLUmKgLJXPVTVeZcDFNDH":{"tag":"h4","type":"element","children":["9Buv6OrvJEvrt1HoKz_Vw"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"TN1Ahqp0YySjOs2DHku6m":{"tag":"p","type":"element","classes":{"mb-4":{},"text-lg":{},"text-gray-300":{},"dLtgkq":{"formula":{"type":"value","value":true}}},"children":["mPbv8r3R09eSjiFVesG3Z"],"customProperties":{}},"TXM_sZWO2bu-DEXePa8dR":{"type":"text","value":{"type":"value","value":"check-immediately"}},"TvXCuTTL6PmjMAmw7OglD":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M40 100 L100 40 L160 100 L100 160 Z"},"fill":{"type":"value","value":"#ecc94b"},"stroke":{"type":"value","value":"#e2e8f0"},"stroke-width":{"type":"value","value":"4"}},"classes":{"kpEdX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"UKtvCwRXaJQz31flpMGaP":{"tag":"td","type":"element","children":["wg9XFrIYZlaRQxec2Ul73"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"VqnqlYq5qzW4tIKtdfwXc":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"2s"},"values":{"type":"value","value":"50;60;50"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"r"}},"classes":{"kpEdX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Vqxf_8CW-icGEeuw3haqS":{"type":"text","value":{"type":"value","value":"Demo"}},"W0ihr3X2SUimwhyrdFhCs":{"type":"text","value":{"type":"value","value":"root-element-id\n\n"}},"W2clF93PjQZjr26efW6UQ":{"type":"text","value":{"type":"value","value":"Build Threshold List"}},"W4Z2Kpi1kBbTE78MTgrij":{"tag":"tr","type":"element","children":["wJm300rrkV9P9QGqAmvCL","cDQPGdwFyGslxvI1wcCTG"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"W5qFzHualLBg2G_GWAgf9":{"tag":"td","type":"element","children":["TXM_sZWO2bu-DEXePa8dR"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"WDLL4hA2E3AowSoqYbslv":{"tag":"p","type":"element","classes":{"mb-4":{},"text-lg":{},"text-gray-300":{},"dLtgkq":{"formula":{"type":"value","value":true}}},"children":["DiGj9O-MyAMabIAq2LYNE"],"customProperties":{}},"WFpnq2ZkG4snYqRG_Bl6K":{"tag":"li","type":"element","children":["4dLiUw9fNeuZk2UKfupTx","34bIFStpHgReMkTCs_fX_","lXSCryL6LMfXLYVXveUug","b-rSlS89QGIciJkNq0uXL"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"WLGkRFnxQip7JO_31ps6Z":{"tag":"td","type":"element","children":["idDHMH1uNGuyiLY3EVvyZ"],"classes":{"fhanpd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"XvZGA6c47kIujq8_5lXRY":{"type":"text","value":{"type":"value","value":"Content to render when not in view. For example a skeleton or a cheaper version of the item.\n\nRendering elements is not instant. When scrolling fast the placeholder may show shortly, even if threshold is 0 and root-margin is positive."}},"YV6fvAR_I-cXJHNQxe3Nn":{"tag":"div","type":"element","classes":{"flex":{},"mb-8":{},"w-full":{},"md:mb-0":{},"md:pl-8":{},"flex-col":{},"md:w-1/2":{},"bRxjEl":{"formula":{"type":"value","value":true}}},"children":["vEblPua31IayXrokilKTj","TN1Ahqp0YySjOs2DHku6m"],"customProperties":{}},"YnrylfpbcEzotmtxuujsK":{"type":"text","value":{"type":"value","value":"Content to render when in view."}},"YvIUS_T_HQY7afV_SiD_Y":{"tag":"tr","type":"element","children":["LbTXvEWP1MS5Im2zZbZlX","4iH0hxmSeNmREKvVTx8Xa"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Z7ZxfaCxZkTF5opUYZMoD":{"type":"text","value":{"type":"value","value":"Slots"}},"ZSH8S6BF792yn-5bGF8r1":{"tag":"section","type":"element","children":["6JzXU7qD2EnoxfKsd3CtP","tujus7mkBz3lFusFnajXj"],"condition":{"path":["Variables","show section"],"type":"path","label":null},"classes":{"fsBqBN":{"formula":{"type":"value","value":true}}},"customProperties":{}},"_p823Fc6TygP5-wQLdus5":{"tag":"h4","type":"element","children":["Z7ZxfaCxZkTF5opUYZMoD"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"aQHHmAE3GyKXtH4AShmYs":{"type":"text","value":{"type":"value","value":"default"}},"b-rSlS89QGIciJkNq0uXL":{"tag":"div","type":"element","children":["_p823Fc6TygP5-wQLdus5","CTLZ6XA_SpDqdjsKh1RRR"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"b7zuxjcEispfKegvPQC4s":{"tag":"svg","type":"element","attrs":{"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"viewBox":{"type":"value","value":"0 0 200 200"}},"classes":{"h-64":{},"w-full":{},"md:w-1/2":{},"uqmHy":{"formula":{"type":"value","value":true}}},"children":["8v7GWSgKkFX_CL_WlJJXq","1iBRczPUPFmwbpgaAVlQZ","GFsk-SO-YUFkjT31isFfE"],"customProperties":{}},"bOFjWvUzS99RqjtqEf5Oo":{"type":"text","value":{"type":"value","value":"Intersection observer"}},"bdVX813ourWGALtmvHDX6":{"tag":"p","type":"element","children":["uhkdG54Xmn8ReHAiHtXza"],"classes":{"sahaH":{"formula":{"type":"value","value":true}}},"customProperties":{}},"c-xjypetoeCGEuwG6J-JP":{"type":"text","value":{"type":"value","value":"Called each time a threshold is met. The event contains the following important fields:\n\nisIntersecting: True if any threshold is met.\n\nintersectionRatio: If you have given multiple threshold (array), this ratio indicates how much of the element is intersecting the root. 1 is fully inside, 0.5 is halfway visible. Notice that the values may not be exact matches to the given thresholds, but can be in between values."}},"cDQPGdwFyGslxvI1wcCTG":{"tag":"td","type":"element","children":["eKlfHy4erdJKoDZweTFda"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"cYKV7Rf4kxPqvtNH7YMi_":{"tag":"td","type":"element","children":["XvZGA6c47kIujq8_5lXRY"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"co0rmXxUbzyATks_5jstn":{"type":"text","value":{"type":"value","value":"Trigger Animations"}},"d5R32V345MlGqEinOVxYQ":{"tag":"li","type":"element","children":["2x2URyCKk3z4UOQltAjF1","y8uuKBJkVjdEdcVPPT6px","2IQpny-nF4GKb5QxrEF9i","IAO0gRmy9yXKli9EyEdew","hm5hg3Z7HRZjWTNjbkV7C"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"dGe2plAwU-RuxqZP_TRTE":{"tag":"circle","type":"element","attrs":{"r":{"type":"value","value":"50"},"cx":{"type":"value","value":"100"},"cy":{"type":"value","value":"100"},"fill":{"type":"value","value":"#4299e1"},"stroke":{"type":"value","value":"#e2e8f0"},"stroke-width":{"type":"value","value":"4"}},"children":["VqnqlYq5qzW4tIKtdfwXc"],"classes":{"kpEdX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"dPIDQY2NRCodcOF5VifV1":{"tag":"div","type":"element","children":["qo1NQlCVxps2hZ6tLZKYS"],"classes":{"YTJFj":{"formula":{"type":"value","value":true}}},"customProperties":{}},"drHy7-N09v8FHwS6WKY0M":{"tag":"td","type":"element","children":["m8KGIRbOR-RMRLg6eiiSe"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"eC9c4MCGpw9ZWISLvPoI2":{"tag":"td","type":"element","children":["YnrylfpbcEzotmtxuujsK"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"eKlfHy4erdJKoDZweTFda":{"type":"text","value":{"type":"value","value":"Margin around the root. Same syntax as CSS margin property, e.g. \"10px 20px 30px 40px\" (top, right, bottom, left). The margin grows or shrink each side of the root element's bounding box before computing intersections. Default is \"0px 0px 0px 0px\".\n\n"}},"fkpbYj1SmhBYJQghCdE8L":{"tag":"svg","type":"element","attrs":{"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"viewBox":{"type":"value","value":"0 0 200 200"}},"classes":{"h-64":{},"w-full":{},"md:w-1/2":{},"uqmHy":{"formula":{"type":"value","value":true}}},"children":["OmQTXJjL1xdmBrSVPPRHw","dGe2plAwU-RuxqZP_TRTE"],"customProperties":{}},"gKOdXbW-on_939JSdA1t-":{"tag":"div","type":"element","children":["jD-wKYaGpnUIkDvD7xK3c","bdVX813ourWGALtmvHDX6"],"classes":{"eozNhk":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hVG2Qu2I9ihxg1FaW89ym":{"tag":"section","type":"element","children":["Ocz0955gPBhgnA5gXkqXn","8JMmh1JG6yvg9WglgEwJc"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hfmarTXU9ZGAcNShDhsvg":{"tag":"tr","type":"element","children":["xpHiE7iidC_LPE-WjBjzR","6j_62LmhVd8p_ol4p_-ky"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hm5hg3Z7HRZjWTNjbkV7C":{"tag":"div","type":"element","children":["y2DhuB9UcZJ6qMNprV3uL","EZuCa8q7-MbmOA-UlBZ8h"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"iSCTwq_3gRK_--mbHiz6C":{"type":"text","value":{"type":"value","value":"Helper formula to construct complex thresholds for the Intersection observer component. By default thresholds is a single value to detect whether the component is intersecting or not, but you may also add multiple values in an array to get a continuous intersection ratio."}},"idDHMH1uNGuyiLY3EVvyZ":{"type":"text","value":{"type":"value","value":"Number of steps"}},"igMKIl4ahhQQphihenxzH":{"tag":"tr","type":"element","children":["W5qFzHualLBg2G_GWAgf9","MCbJejFzTYCci7PJf_daZ"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"io79tuwdkOSYmv1aYD2Wr":{"tag":"td","type":"element","children":["W0ihr3X2SUimwhyrdFhCs"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"jD-wKYaGpnUIkDvD7xK3c":{"tag":"h3","type":"element","children":["lUPGFYkSWa1r-o8-U5uH1"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"jDM6mtErKnlZN0FEizpLm":{"type":"text","value":{"type":"value","value":"threshold\n\n"}},"k14i7v51cs9IQChiSna08":{"type":"text","value":{"type":"value","value":"How precisely you want to report steps. 6 would give [0, 0.2, 0.4, 0.6, 0.8, 1]"}},"kzu3rxaEiVtcLSFDMcvVr":{"name":"Dynamic fade in","type":"component","children":["ycAM7tXTcLXJVIF9dRhNv"],"customProperties":{}},"lUPGFYkSWa1r-o8-U5uH1":{"type":"text","value":{"type":"value","value":"Intersection observer"}},"lXSCryL6LMfXLYVXveUug":{"tag":"div","type":"element","children":["TLUmKgLJXPVTVeZcDFNDH","Fc50PPB9UfNPwmBAj6shw"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"m8KGIRbOR-RMRLg6eiiSe":{"type":"text","value":{"type":"value","value":"In view"}},"mPbv8r3R09eSjiFVesG3Z":{"type":"text","value":{"type":"value","value":"Use the Intersection Observer API to trigger animations as elements come into view, creating engaging and interactive user experiences without affecting performance."}},"mh5pTtteAAqm-ZtW_sKcU":{"tag":"td","type":"element","children":["rtK27G70fqMzVq27plL3U"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"mzGjlDc4qlJWuRoeu3x9m":{"tag":"td","type":"element","children":["IypbEqIVkgvXjxhx7WSj-"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"nnSvJy8dqXMf6gAuJwBkZ":{"tag":"li","type":"element","children":["xT6ZoWYyz7diadbTdLELZ","DDy_L9HAVdgsT-7T4qkx0","AAos7e-UOjEj1mn2hhjT5"],"classes":{"dTIRsU":{"formula":{"type":"value","value":true}}},"customProperties":{}},"o6j-457OO-PjZdQWX8xZj":{"tag":"td","type":"element","children":["JqWjgJusyhzVAXPpDcQ2w"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"oN0VbbWAAejIbL_1fThx8":{"tag":"tr","type":"element","children":["R6s6K11jrmCanicqWJ2v4","xSM9K8vMzbHY8Bvb9KEm5"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qUZX5B_obx9JdrREoZr8I":{"tag":"main","type":"element","children":["hVG2Qu2I9ihxg1FaW89ym","616n7TVOO6f-PV1o3Ttcf","QozClqn4vLraoakHnLOeK","ZSH8S6BF792yn-5bGF8r1"],"classes":{"fUJJn":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qnBnpWRpLS6VHDId3BVQ7":{"name":"Dynamic fade in","type":"component","children":["xqmMQGOqEMQhKmZZLGuPG"],"customProperties":{}},"qo1NQlCVxps2hZ6tLZKYS":{"tag":"div","type":"element","attrs":{"id":{"type":"value","value":"container"}},"children":["00EfPUclcj4uoBodasgUB","4sUdnX2GPGOLaHilGkzLA"],"classes":{"cJmBLh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qvGdQ1ORvEUS6DoZD7In9":{"tag":"h2","type":"element","classes":{"mb-4":{},"text-3xl":{},"font-bold":{},"text-blue-300":{},"bDueAJ":{"formula":{"type":"value","value":true}}},"children":["F_gJfjN3vkMOMe3iRBie9"],"customProperties":{}},"rAHVprwnw9Qe_4Q6BguDe":{"type":"text","value":{"type":"value","value":"Margin around the root. Same syntax as CSS margin property, e.g. \"10px 20px 30px 40px\" (top, right, bottom, left). The margin grows or shrink each side of the root element's bounding box before computing intersections. Default is \"0px 0px 0px 0px\".\n\n"}},"rOFDllilQXAXFOi1FRW3I":{"tag":"td","type":"element","children":["9s2QVMqvCJIOcWQHIHJbR"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"rPritJtWLr5om5Mf7ZQl4":{"tag":"h2","type":"element","children":["Vqxf_8CW-icGEeuw3haqS"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ribjx2gqfYLc6_vtFNun6":{"tag":"tr","type":"element","children":["WLGkRFnxQip7JO_31ps6Z","2YB1BPkzGHlWDsraEOC_O"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"rtK27G70fqMzVq27plL3U":{"type":"text","value":{"type":"value","value":"Any subcomponent can subscribe to this value. Will indicate if any threshold is met."}},"si1-Iff86dCMkRQp_UiTp":{"tag":"td","type":"element","children":["FT6xZw39Zg5WZTTyN76aQ"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"suIYoHXprvu54T1mVqfxI":{"type":"text","value":{"type":"value","value":"The id of the element that is used as the viewport for checking visibility of the target. This is usually set to the nearest scroll-container (overflow: visible/auto). Defaults to the browser viewport if not specified or if null.\n\n"}},"sw0h1xF3ZqfcsW-IqEId8":{"type":"text","value":{"type":"value","value":"Components"}},"tu6LpoK1LU1JFs-lS_Z-V":{"type":"text","value":{"type":"value","value":"This is a simplified component specifically for reporting when it comes in and out of view.\n\nThis component is particularly useful for lazy-loading or virtualisation or components.\n\nIf you know the approximate dimensions of the content, for example list items, you may wrap each item in a `render-when-in-view` to only load the slotted content when the element is actually in view."}},"tujus7mkBz3lFusFnajXj":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["nnSvJy8dqXMf6gAuJwBkZ"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"uLcmCWc1bN51roayCO_Nj":{"type":"text","value":{"type":"value","value":"Optimize Resource Loading"}},"uhkdG54Xmn8ReHAiHtXza":{"type":"text","value":{"type":"value","value":"Helper components to detect intersection with the viewport or other scroll-containers.\n\nUseful for lazy-loading, virtualisation, or animating elements based on how visible they are."}},"vEblPua31IayXrokilKTj":{"tag":"h2","type":"element","classes":{"mb-4":{},"text-3xl":{},"font-bold":{},"text-blue-300":{},"bDueAJ":{"formula":{"type":"value","value":true}}},"children":["co0rmXxUbzyATks_5jstn"],"customProperties":{}},"vOHOzUCK4-00R1sigQxCq":{"tag":"table","type":"element","children":["ribjx2gqfYLc6_vtFNun6"],"classes":{"fmmYYL":{"formula":{"type":"value","value":true}}},"customProperties":{}},"vWPPPYdibSVui5Ns4yq-T":{"tag":"tr","type":"element","children":["LE3BpBYOZouObnC6vqh3_","CXIBYCt_EySv2D1-sGiBT"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"wF0xD0TCAUF_uxiX5rxvB":{"type":"text","value":{"type":"value","value":"root-margin\n\n"}},"wJm300rrkV9P9QGqAmvCL":{"tag":"td","type":"element","children":["8x58OM7tM09Z0ECqp9Ca_"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"wg9XFrIYZlaRQxec2Ul73":{"type":"text","value":{"type":"value","value":"The id of the element that is used as the viewport for checking visibility of the target. This is usually set to the nearest scroll-container (overflow: visible/auto). Defaults to the browser viewport if not specified or if null.\n\n"}},"x2pVE6uapN_zyjAOZOZxH":{"name":"Intersection observer","type":"component","attrs":{"threshold":{"name":"BuildThresholdList","type":"function","label":null,"arguments":[{"name":"Number of steps","formula":{"type":"value","value":100}}]},"root-margin":{"type":"value","value":"100px 0px -50px 0px"},"root-element-id":{"type":"value","value":"container"}},"children":["qnBnpWRpLS6VHDId3BVQ7"],"customProperties":{}},"xB0fYs1obXyz_5eJWIr24":{"tag":"tr","type":"element","children":["io79tuwdkOSYmv1aYD2Wr","UKtvCwRXaJQz31flpMGaP"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"xGLiwUhxZlIVtMh5tfKzn":{"tag":"div","type":"element","classes":{"flex":{},"mb-8":{},"w-full":{},"md:mb-0":{},"md:pr-8":{},"flex-col":{},"md:w-1/2":{},"bpRlIa":{"formula":{"type":"value","value":true}}},"children":["qvGdQ1ORvEUS6DoZD7In9","WDLL4hA2E3AowSoqYbslv"],"customProperties":{}},"xSM9K8vMzbHY8Bvb9KEm5":{"tag":"td","type":"element","children":["Pl4Hm1RAa_gFvVlP7uXK2"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"xT6ZoWYyz7diadbTdLELZ":{"tag":"h3","type":"element","children":["W2clF93PjQZjr26efW6UQ"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"xpHiE7iidC_LPE-WjBjzR":{"tag":"td","type":"element","children":["4TP_G5P2FGktiilCoyt74"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"xqmMQGOqEMQhKmZZLGuPG":{"tag":"section","type":"element","classes":{"p-8":{},"flex":{},"flex-col":{},"md:flex-row":{},"items-center":{},"justify-between":{},"eGrYTc":{"formula":{"type":"value","value":true}}},"children":["yYeMadN2GIdV31OuDbL8-","6zKvei4CTf-tkv8cgKJLy"],"customProperties":{}},"y2DhuB9UcZJ6qMNprV3uL":{"tag":"h4","type":"element","children":["NnihYuMlnHopVEV0GlfCQ"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"y8uuKBJkVjdEdcVPPT6px":{"tag":"p","type":"element","children":["7c7x4U4dAOiSdB_EUmtk6"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"yYeMadN2GIdV31OuDbL8-":{"tag":"div","type":"element","classes":{"flex":{},"mb-8":{},"w-full":{},"md:mb-0":{},"md:pr-8":{},"flex-col":{},"md:w-1/2":{},"bpRlIa":{"formula":{"type":"value","value":true}}},"children":["KpKDq5OfiFtvGqbs04r4l","LGx-xl30xTdu-_g3UHfQ7"],"customProperties":{}},"ycAM7tXTcLXJVIF9dRhNv":{"tag":"section","type":"element","classes":{"p-8":{},"flex":{},"flex-col":{},"md:flex-row":{},"items-center":{},"justify-between":{},"eGrYTc":{"formula":{"type":"value","value":true}}},"children":["xGLiwUhxZlIVtMh5tfKzn","b7zuxjcEispfKegvPQC4s"],"customProperties":{}},"yg5yS8y4rf4IrXwso638U":{"type":"text","value":{"type":"value","value":"render-when-in-view"}},"zLPUXTO4t1V8nXLsoLC5D":{"tag":"h4","type":"element","children":["C2ztPypJigHNYahz23c_U"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"zfsSdGUB2b8moIGpNQqfr":{"type":"text","value":{"type":"value","value":"Events"}},"zuORBk70pU7qwYjmAXg1c":{"tag":"tr","type":"element","children":["o6j-457OO-PjZdQWX8xZj","si1-Iff86dCMkRQp_UiTp"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"route":{"info":{"title":{"formula":{"type":"value","value":"Intersection observer package"}},"description":{"formula":{"type":"value","value":"Component to check if it is inside the viewport."}}},"path":[],"query":{}},"onLoad":{"actions":[],"trigger":"load"},"functions":{},"variables":{"show section":{"initialValue":{"type":"value","value":true}}}},"components":[{"name":"Intersection observer","nodes":{"root":{"tag":"intersection-observer","type":"element","attrs":{"id":{"path":["Variables","id"],"type":"path"}},"children":["KEoFh3NQLjn45Ga3RetVg"],"customProperties":{}},"KEoFh3NQLjn45Ga3RetVg":{"type":"slot"}},"events":[{"name":"Change"}],"onLoad":{"actions":[{"name":"setupIntersectionObserver","events":{"callback":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"TriggerEvent","event":"Change"},{"data":{"path":["Event","isIntersecting"],"type":"path"},"type":"SetVariable","variable":"In view"},{"data":{"path":["Event","intersectionRatio"],"type":"path"},"type":"SetVariable","variable":"Intersection ratio"}],"trigger":"callback","dummyEvent":{"time":12345.67,"target":{"id":"exampleElement"},"rootBounds":{"x":0,"y":0,"top":0,"left":0,"right":1024,"width":1024,"bottom":768,"height":768},"isIntersecting":true,"intersectionRect":{"x":100,"y":200,"top":200,"left":100,"right":400,"width":300,"bottom":350,"height":150},"intersectionRatio":1,"boundingClientRect":{"x":100,"y":200,"top":200,"left":100,"right":400,"width":300,"bottom":350,"height":150}}}},"version":2,"arguments":[{"name":"rootElementId","formula":{"path":["Attributes","root-element-id"],"type":"path"}},{"name":"rootMargin","formula":{"path":["Attributes","root-margin"],"type":"path"}},{"name":"threshold","formula":{"path":["Attributes","threshold"],"type":"path"}},{"name":"target","formula":{"name":"@toddle/getElementById","type":"function","arguments":[{"name":"Id","type":{"type":"String"},"formula":{"path":["Variables","id"],"type":"path"}}],"display_name":"Get element by id"}},{"name":"once"}]}],"trigger":"Load"},"exported":true,"formulas":{"9e22bLcht0JXuitTN7iTE":{"name":"In view","formula":{"path":["Variables","In view"],"type":"path"},"memoize":false,"arguments":[],"exposeInContext":true},"9py5vbvGLro_wNSvJNenz":{"name":"Intersection ratio","formula":{"path":["Variables","Intersection ratio"],"type":"path"},"memoize":false,"arguments":[],"exposeInContext":true}},"variables":{"id":{"initialValue":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"intersection-observer-"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/takeLast","type":"function","arguments":[{"name":"Array","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"}]},"formula":{"name":"@toddle/string","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"name":"@toddle/randomNumber","type":"function","arguments":[],"display_name":"Random number"}}],"display_name":"String"}},{"name":"Count","type":{"type":"Number"},"formula":{"type":"value","value":6}}],"display_name":"Take last"}}],"display_name":"Concatenate","variableArguments":true}},"In view":{"initialValue":{"type":"value","value":false}},"Intersection ratio":{"initialValue":{"type":"value","value":0}}},"attributes":{"threshold":{"name":"threshold"},"root-margin":{"name":"root-margin"},"root-element-id":{"name":"root-element-id"}},"onAttributeChange":{"actions":[{"name":"setupIntersectionObserver","events":{"callback":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"TriggerEvent","event":"Change"},{"data":{"path":["Event","isIntersecting"],"type":"path"},"type":"SetVariable","variable":"In view"},{"data":{"path":["Event","intersectionRatio"],"type":"path"},"type":"SetVariable","variable":"Intersection ratio"}],"trigger":"callback","dummyEvent":{"time":12345.67,"target":{"id":"exampleElement"},"rootBounds":{"x":0,"y":0,"top":0,"left":0,"right":1024,"width":1024,"bottom":768,"height":768},"isIntersecting":true,"intersectionRect":{"x":100,"y":200,"top":200,"left":100,"right":400,"width":300,"bottom":350,"height":150},"intersectionRatio":1,"boundingClientRect":{"x":100,"y":200,"top":200,"left":100,"right":400,"width":300,"bottom":350,"height":150}}}},"version":2,"arguments":[{"name":"rootElementId","formula":{"path":["Attributes","root-element-id"],"type":"path"}},{"name":"rootMargin","formula":{"path":["Attributes","root-margin"],"type":"path"}},{"name":"threshold","formula":{"path":["Attributes","threshold"],"type":"path"}},{"name":"target","formula":{"name":"@toddle/getElementById","type":"function","arguments":[{"name":"Id","type":{"type":"String"},"formula":{"path":["Variables","id"],"type":"path"}}],"display_name":"Get element by id"}},{"name":"once"}]}],"trigger":"Attribute change"}},{"name":"Perspective in","nodes":{"root":{"tag":"div","type":"element","children":["tB8ob6kp2zxBl143BRrVn"],"classes":{"bWabNQ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-uqFzR6So3Q82Bs88oCQL":{"type":"slot"},"tB8ob6kp2zxBl143BRrVn":{"tag":"div","type":"element","children":["-uqFzR6So3Q82Bs88oCQL"],"style-variables":[{"name":"progress","unit":"","formula":{"path":["Contexts","Intersection observer","9py5vbvGLro_wNSvJNenz"],"type":"path"},"category":"spacing"}],"classes":{"PeTcm":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"contexts":{"Intersection observer":{"formulas":["9py5vbvGLro_wNSvJNenz","9e22bLcht0JXuitTN7iTE"],"workflows":[],"componentName":"Intersection observer"}}},{"name":"Dynamic fade in","nodes":{"root":{"tag":"div","type":"element","children":["fLm9a2K6oUsfWk34kya0O"],"style-variables":[{"name":"opacity","unit":"","formula":{"path":["Contexts","Intersection observer","9py5vbvGLro_wNSvJNenz"],"type":"path"},"category":"spacing"}],"classes":{"bwcXCh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"fLm9a2K6oUsfWk34kya0O":{"type":"slot"}},"contexts":{"Intersection observer":{"formulas":["9py5vbvGLro_wNSvJNenz"],"workflows":[],"componentName":"Intersection observer"}}}]}